package edu.sctu.practice.class02.luohui;

/**
 * Created by asus on 2015/9/18.
 */
public class Dog {
    int age = 6;
    String color = "红色";
    String name = "小明";
    int number = 5;
    String sex = "男";

    public boolean panDuan() {
        if (age > 5) {
            return true;
        } else {
            return false;
        }
    }
    public void setAge(){
        System.out.println(age);}
    public void setColor()
    {
        System.out.println(color);
    }
    public void setName() {
        System.out.println(name);
    }
    public void setNumber() {
        System.out.println(number);
    }
    public void setSex() {
        System.out.println(sex);
    }
}